﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EventBus
{
    public abstract class EventDataBase : IEventData
    {
        public DateTime EventTime { get; set; }
        public object EventSource { get; set; }

        public Guid EventId { get; set; }



        protected EventDataBase()
        {
            EventTime = DateTime.Now;
            EventId = Guid.NewGuid();
        }
    }
}
